package com.linjiang.test;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class Demo1 {

    public static void main(String[] args) throws IOException {
        List<Character> list = new ArrayList<>();
        for (; ; ) {
            char read = (char) System.in.read();
            list.add(read);
        }
    }
}
